package com.sicent.app0013.operate.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicent.app0013.operate.dao.PrizeRecordDao;
import com.sicent.app0013.operate.model.PrizeRecord;
import com.sicent.operate.common.base.interf.BaseMapper;
import com.sicent.operate.common.base.service.BaseServiceSupport;

@Service("prizeRecordService")
public class PrizeRecordService extends  BaseServiceSupport<PrizeRecord, Integer>{
	@Autowired
	private PrizeRecordDao prizeRecordDao;
	
	@Override
	public BaseMapper<PrizeRecord, Integer> getMapper() {
		return prizeRecordDao;
	}
	
	public int getCountByCondition(Map<String, Object> map){
		return prizeRecordDao.getCountByCondition(map);
	}
}